#include "instruction.hpp"
#include <cassert>

Instruction::Instruction(int i, Opcode o, int a, int b, int r)
	: id(i), op(o), argA(a), argB(b), ret(r)
{
}

bool Instruction::operator==(Instruction const& other) const
{
	return id == other.id && op == other.op && argA == other.argA && argB == other.argB && ret == other.ret;
}
